package io.renren.modules.bookManagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 出版常识管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-12-09
 */
@Data
@ApiModel(value = "出版常识管理")
public class KnowledgeDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "出版常识id")
	private Long id;

	@ApiModelProperty(value = "常识内容")
	private String content;

	@ApiModelProperty(value = "作者")
	private String author;

	@ApiModelProperty(value = "常识标题")
	private String title;

	@ApiModelProperty(value = "发表时间")
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	private Date publishtime;


}